package com.gientech.mapper;

import com.gientech.entity.LoanInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoanInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LoanInfo record);

    int insertSelective(LoanInfo record);

    LoanInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(LoanInfo record);

    int updateByPrimaryKey(LoanInfo record);

    List<LoanInfo> queryTaskByUserName(String useName);

    void updateLoanStatus(@Param("loanStatus") String loanStatus, @Param("taskId") String taskId);
}
